s = "Python"
#	 012345
print(s[1:4]) # 输出: 
print(s[:2]) # 输出: 
print(s[3:]) # 输出: 
print(s[::2]) # 输出: 

l=[7,5,3,7,4,2,56,7,4,9,8, 2, 0, 8]
#  0 1 2 3 4 5 6  7 8 9 10 11 12 13
print(l[1:10]) # 输出: 
print(l[:6]) # 输出: 
print(l[3::2]) # 输出: 
print(l[1:11:2]) # 输出: 